package ogl.tests;

import static org.junit.Assert.*;
import ogl.Tank;

import org.junit.Test;

public class TankTest {

	@Test
	public void testMove() {
		Tank t = new Tank(13.008f, 22.02f);
		t.move(10.2f, 12.2f);
		assertTrue(t.getX() == 10.2f);
		assertTrue(t.getY() == 12.2f);
	}

	@Test
	public void testTank() {
		Tank t = new Tank(10, 10);
		assertNotNull(t);
	}

}
